dereference - definitie. Wat is dereference
Diclib.com
Woordenboek ChatGPT
Voer een woord of zin in in een taal naar keuze 👆
Taal:

Vertaling en analyse van woorden door kunstmatige intelligentie ChatGPT

Op deze pagina kunt u een gedetailleerde analyse krijgen van een woord of zin, geproduceerd met behulp van de beste kunstmatige intelligentietechnologie tot nu toe:

  • hoe het woord wordt gebruikt
  • gebruiksfrequentie
  • het wordt vaker gebruikt in mondelinge of schriftelijke toespraken
  • opties voor woordvertaling
  • Gebruiksvoorbeelden (meerdere zinnen met vertaling)
  • etymologie

Wat (wie) is dereference - definitie

UNARY OPERATOR
Dereference; Indirection operator; Dereferencing; Indirection lookup

dereference         
<programming> To access the thing to which a pointer points, i.e. to follow the pointer. E.g. in C, the declarations int i; int *p = &i; declare i as an integer and p as a pointer to integer. p is initialised to point at i ("&i" is the address of i - the inverse of "*"). The expression *p dereferences p to yield i as an lvalue, i.e. something which can appear either on the left of an assignment or anywhere an integer expression is valid. Thus *p = 17; would set i to 17. *p++ is not the same as i++ however since it is parsed as *(p++), i.e. increment p (which would be an invalid thing to do if it was pointing to a single int, as in this example) then dereference p's old value. The C operator "->" also dereferences its left hand argument which is assumed to point to a structure or union of which the right hand argument is a member. At first sight the word "dereference" might be thought to mean "to cause to stop referring" but its meaning is well established in jargon. (1998-12-15)
dereference         
[di:'r?f?r?ns]
¦ verb Computing obtain the address of a data item held in another location from (a pointer).
Dereference operator         
In computer programming, the dereference operator or indirection operator, sometimes denoted by "*" (i.e.

Wikipedia

Dereference operator

In computer programming, the dereference operator or indirection operator, sometimes denoted by "*" (i.e. an asterisk), is a unary operator (i.e. one with a single operand) found in C-like languages that include pointer variables. It operates on a pointer variable, and returns an l-value equivalent to the value at the pointer address. This is called "dereferencing" the pointer. For example, the C code

assigned 1 to variable x by using the dereference operator and a pointer to the variable x.